***Run on "data#" datasets created in R, save as "dataFD_#"
tsset imf_ccode year
gen fd_art8 = art8-l2.art8
gen fd_restrict = restrict - l2.restrict
gen fd_flexible = flexible - l2.flexible
gen fd_gnpcap = gnpcap - l2.gnpcap
gen fd_regnorm = regnorm - l2.regnorm
gen fd_gdpgrow = gdpgrow - l2.gdpgrow
gen fd_resgdp = resgdp - l2.resgdp
gen fd_bopgdp = bopgdp - l2.bopgdp
gen fd_useimfcr = useimfcr - l2.useimfcr
gen fd_surveil = surveil - l2.surveil
gen fd_univers = univers - l2.univers
gen fd_tradedep = tradedep - l2.tradedep
gen fd_resvol = resvol - l2.resvol
gen fd_totvol = totvol - l2.totvol
gen fd_military = military - l2.military
gen fd_termlim = termlim - l2.termlim
gen fd_parli = parli - l2.parli
gen fd_lastrest = lastrest - l2.lastrest
gen fd_lastrest2 = lastrest2 - l2.lastrest2
gen fd_lastrest3 = lastrest3 - l2.lastrest3
gen fd_year = year - l2.year
g l2_art8 = l2.art8
g l2_restrict = l2.restrict

g l_leftshift_inc = l.leftshift_inc
g l_rightshift_inc = l.rightshift_inc
g l_leftshift_exc = l.leftshift_exc
g l_rightshift_exc = l.rightshift_exc
g l_leftshift_inc_leg = l.leftshift_inc_leg
g l_rightshift_inc_leg = l.rightshift_inc_leg
g l_leftshift_exc_leg = l.leftshift_exc_leg
g l_rightshift_exc_leg = l.rightshift_exc_leg

***Run on Treaty datasets created in R
tsset imf_ccode year
g l_leftshift_inc = l.leftshift_inc
g l_rightshift_inc = l.rightshift_inc
g l_leftshift_exc = l.leftshift_exc
g l_rightshift_exc = l.rightshift_exc
g l_leftshift_inc_leg = l.leftshift_inc_leg
g l_rightshift_inc_leg = l.rightshift_inc_leg
g l_leftshift_exc_leg = l.leftshift_exc_leg
g l_rightshift_exc_leg = l.rightshift_exc_leg
